package org.jeecg.modules.inventory.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * @Description: 库存出入库明细
 * @Author: jeecg-boot
 * @Date: 2024-07-01
 * @Version: V1.0
 */
@ApiModel(value = "buss_inventory_inout_details对象", description = "库存出入库明细")
@Data
@TableName("buss_inventory_inout_details")
public class BussInventoryInoutDetails implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 库存ID
     */
    @ApiModelProperty(value = "库存ID")
    private String inventoryId;
    /**
     * 库存明细ID
     */
    @Excel(name = "库存明细ID", width = 15)
    @ApiModelProperty(value = "库存明细ID")
    private String detailId;
    /**
     * 业务
     */
    @Excel(name = "业务", width = 15, dicCode = "kc_business")
    @Dict(dicCode = "kc_business")
    @ApiModelProperty(value = "业务")
    private String business;
    /**
     * 业务类型
     */
    @Excel(name = "业务类型", width = 15, dicCode = "kc_business_type")
    @Dict(dicCode = "kc_business_type")
    @ApiModelProperty(value = "业务类型")
    private String businessType;
    /**
     * 数量
     */
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal quantity;
    /**
     * 单位
     */
    @Excel(name = "单位", width = 15, dicCode = "ji_unit")
    @Dict(dicCode = "ji_unit")
    @ApiModelProperty(value = "单位")
    private String meUnit;
    /**
     * 条码
     */
    @Excel(name = "条码", width = 15)
    @ApiModelProperty(value = "条码")
    private String barCode;
    /**
     * 业务ID
     */
    @Excel(name = "业务ID", width = 15)
    @ApiModelProperty(value = "业务ID")
    private String businessId;
    /**
     * 业务编号
     */
    @Excel(name = "业务编号", width = 15)
    @ApiModelProperty(value = "业务编号")
    private String businessCode;
    /**
     * 操作人
     */
    @Excel(name = "操作人", width = 15)
    @ApiModelProperty(value = "操作人")
    private String operator;
    /**
     * 操作时间
     */
    @Excel(name = "操作时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "操作时间")
    private Date operationTime;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 备用字段一
     */
    @Excel(name = "备用字段一", width = 15)
    @ApiModelProperty(value = "备用字段一")
    private String spareOne;
    /**
     * 备用字段二
     */
    @Excel(name = "备用字段二", width = 15)
    @ApiModelProperty(value = "备用字段二")
    private String spareTwo;
    /**
     * 备用字段三
     */
    @Excel(name = "备用字段三", width = 15)
    @ApiModelProperty(value = "备用字段三")
    private String spareThree;
    /**
     * 备用字段四
     */
    @Excel(name = "备用字段四 ", width = 15)
    @ApiModelProperty(value = "备用字段四 ")
    private String spareFour;
    /**
     * 备用字段五
     */
    @Excel(name = "备用字段五", width = 15)
    @ApiModelProperty(value = "备用字段五")
    private String spareFive;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
